- Bevezetés a Python programozásba
- Bevezetés a játékkészítésbe
- Bevezetés az arcfelismerésbe
- Bevezetés a GPT világába
- Természetes nyelvi feldolgozás
- Objektum észlelés
- Bevezetés a gépi tanulásba
További információk:
Természetes nyelvi feldolgozás
sprite = Sprite('Tobi') import time sprite.gotoxy(-193, -116) tr = TextRecognition() tr.video('on flipped') while True: tr.analysecamera("handWrittenText") if tr.handwrittentextresult() == str("Sad"): sprite.say("Don't be sad. Be happy with what you have. Be excited about what you want.") elif tr.handwrittentextresult() == str("Happy"): sprite.say("I'm more happy to know that you’re happy :)") elif tr.handwrittentextresult() == str("Excited"): sprite.say("Yayy!! Glad to know you're excited") elif tr.handwrittentextresult() == str("Frustrated"): sprite.say("Life is full of ups and down... don't be frustrated. Take a chill pill") else: sprite.say('Try Again', 2) time.sleep(3)